function [ data ] = benefitsDays( days,x )
p0=100;
data=[];
before=p0;

for d=1:days
    
    random = x(ceil(rand()*10000));
    delta=0;
    
    
    
    if(0<=random && random< 3/36)
        delta=-1/8;
    elseif(3/36  <= random && random < 10/36)
        delta=0;
    elseif(10/36 <= random && random < 26/36)
        delta=1/8;
    elseif(26/36 <= random && random < 34/36)
        delta=1/2;
    elseif(34/36 <= random && random < 1)
        delta=1;
    end
    
    data(d)=p0+delta;
    before=data(d);
end


data=data-p0;

end
